package com.qyl.deguru.dao;

import java.util.List;

import com.qyl.deguru.common.PageModel;
import com.qyl.deguru.common.QueryVo;
import com.qyl.deguru.dto.Shop;
import com.qyl.deguru.dto.ShopType;

public interface ShopDao {
	//显示商品详情信息
	List<Shop> showShopList(Shop shop,PageModel pageModel);
	//分页，显示总记录数
	int getcount();
	//根据id删除商品信息
	int delShopById(int id);
	//批量删除
	int delShops(int[] ids);
	//新增商品信息
	int addShop(Shop shop);
	//根据id获取商品信息
	Shop getShopById(int id);
	//更新商品数据
	int shopUpdate(Shop shop);
	//显示商品信息
	List<Shop> getShop();
	List<Shop> getShopByisHot();
	List<Shop> getShopByisHot2();
	List<Shop> getShopByisHot3();
	List<Shop> getShopByisHot4();
	List<Shop> getShopByisHot5();
	//根据商品类型获取商品信息
	List<Shop> getShopByCode(QueryVo queryVo);
	//获得所有商品列表
	List<Shop> showAllShop();
}
